It's essential to communicate quickly. Recent issues include increased data consumption and a crowded radio frequency spectrum, where free-space optical communication (FSOC) has changed the way people share information in a big way. In place of wired communication systems, it makes it possible to transport voice, video, and data effectively through a medium like air. FSOC on greatly impacts our daily lives because of its large bandwidth and variety of applications. High speed, cost savings, small buildings, low power consumption, energy economy, maximum transfer capacity, and adaptability are some of the main advantages of FSOC. Repair downtime can be reduced because of the quick advancement of high-speed connection technology. It is also now possible to quickly establish a backup network in an emergency and crisis. The design of FSO systems for two types of digital modulation techniques is the primary focus of this work. By adjusting attenuation ranges for a variety of atmospheric turbulence, such as rain, fog, and dust, the performance of PSK and ASK modulations in the FSO system is investigated to get an improved Q-factor, maximum SNR, and power received, which are needed for better communication. PSK has been shown to be an efficient modulation approach for all types of weather, followed by ASK.