Reconfigurable Intelligent Metasurfaces For Wireless Communication And Sensing Applications