Rods are sensors of dim light, while cones function in bright light and are responsible for color vision.