Original: It can either be detached from a larger unit for a specific function or (particularly in United States Military usage) be a permanent unit smaller than a battalion.
Simplified: It can be broken off from a bigger unit for a set reason or (as often seen in United States Army usage) can be a permanent unit smaller than a battalion.