explanation of sensors class