Ad hoc is a word that originally comes from Latin and means “for this” or "for this situation." In current American English it is used to describe something that has been formed or used for a special and immediate purpose, without previous planning.
Ad hoc can be used as an adjective or an adverb. It is used more often as an adjective, especially in these expressions:
1 ad hoc committee
2 ad hoc group
3 ad hoc basis or on adhoc basis