In this paper, a comprehensive analysis of resource allocation in vehicle-to-vehicle (V2V) communication systems is presented, which is crucial for enhancing traffic control and improving road safety and driving enjoyment. A variety of resource allocation strategies are classified and examined in this paper, including game theory-based approaches, spectrum allocation, energy allocation, location-based allocation, and machine learning-based procedures. Open research questions and areas that need further study in the field of V2V communication are highlighted for future benefit. This survey helps readers make informed decisions about system design, implementation, and improvement by providing a comprehensive overview of the latest developments in V2V resource allocation. It also indicates areas that need further research and possible directions to enhance the security, flexibility, and scalability of V2V communication networks.