In the modern digital era, cybersecurity has become a crucial field due to the increase in cyberthreats and assaults, which pose serious hazards to people, businesses, and countries. To meet these changing difficulties, a wide range of national and international cybersecurity rules and regulations have been developed. This research paper explores a thorough analysis of these laws and regulations. The first section of the report gives an overview of the state of cybersecurity throughout the world, emphasising how frequently and how sophisticatedly cyber-attacks are becoming. After that, it takes a close look at the laws that control cybersecurity in both the public and private domains. The paper addresses the jurisdictional issues that emerge in the globally interconnected realm of cyberspace and investigates the fundamental ideas that support cybersecurity legislation, such as data protection, breach notification, and responsibility. Additionally, the study paper examines important cybersecurity laws from across the globe, such as the Cybersecurity Information Sharing Act of the United States, the California Consumer Privacy Act, and the General Data Protection Regulation (GDPR) of the European Union (CISA). The efficacy of these measures in protecting confidential data and reducing cyber risks is assessed.