What Are Smart Contracts and How Do They Work? Emerging Trend in 2024