FCWS is a system designed to provide advanced warning of potential collisions with vehicles ahead. The main function of FCWS is to use a camera to capture the scene in front of the vehicle and process the images using algorithmic calculations. This enables the system to detect vehicles ahead and estimate the distance between the two vehicles.