Geofencing uses GPS to create virtual boundaries and trigger actions when devices enter or leave predefined areas. It allows targeted marketing by sending ads to potential customers near a business location. Geofencing can also be used for security by alerting to intrusions in restricted areas, and for asset and child tracking by monitoring if items or people leave designated safe zones. While useful for various purposes like customer, employee, and security monitoring, geofencing requires understanding privacy implications.