From Latin "for this", ad hoc adj. For a particular purpose. We humans like to form groups and the most common type of group is formed around a purpose.