The role of the OSI model in network communication is to provide a common reference model for network designers and administrators to ensure that network devices and applications can communicate with each other. It also provides a framework for troubleshooting network issues by allowing network administrators to isolate problems within specific layers of the model.
If you want to learn more about OSI Model then check out the below video by Intellipaat -