This project aims to develop a real-time, secure, and adaptive framework that leverages digital twins to optimize resource allocation in IoV systems. By creating a lose virtual replicas of physical vehicle networks. The virtual replica is then twined with physical infrastructure to perform dynamic twinning. The simulation layer above the twining layer is then developed that can predict, analyze, and manage resources efficiently while ensuring data security and privacy.