Fog computing is a decentralized computing infrastructure in which data, compute, storage and applications are located somewhere between the data source and the cloud. Like edge computing, fog computing brings the advantages and power of the cloud closer to where data is created and acted upon. Many people use the terms fog computing and edge computing interchangeably, because both involve bringing intelligence and processing closer to where the data is created. This is often done to improve efficiency, though it may also be used for security and compliance reasons.