Fog computing is a method of processing data locally on smart devices rather than sending all data to the cloud. This reduces network congestion and latency. The existing cloud computing model does not adequately secure user data from unauthorized access. The proposed fog computing system would distribute computing across decentralized edge devices, keeping data closer to users and improving security and privacy over traditional cloud systems. However, fog computing may still face security and privacy challenges that need to be addressed.