If you see taillights ahead while you are driving in fog:

When driving under foggy conditions, lights cannot be taken as a reliable indication of where the road is. The lights may be coming from a vehicle that has pulled off the road.
DMV Writen Test