Front fogs can only be on when side, dip or main beams are on. They cannot be wired to come on without side or tail lights being on.
If they're wired and switched separately, then they're called auxiliary lights.
Rear fogs can only be used when dip headlights are on, and must switch off if side or main beams are on.