WebVR is an experimental JavaScript API that allows access to virtual reality devices like Oculus Rift and HTC Vive in the browser. It aims to bring VR experiences to the web in an interoperable and device agnostic way. WebVR works by using a WebVR enabled browser along with libraries like AFrame or three.js to build and display VR scenes and experiences. AFrame uses entities and components to build scenes in a declarative way and supports features like 3D models, sounds, animations and controls.