
A liquid crystal display can make a digit by changing the light that goes through it. Its thin layers include filters that pass light with a particular orientation. A voltage can change how liquid crystals between those filters affect the light. That can make a section look brighter or darker than its surroundings.
Where does the light come from?
On a simple calculator, light from the room can pass through the display, reflect from behind it, and come back out. A phone or monitor with an LCD commonly has its own backlight instead. The liquid crystals still control which parts of that light you see.
Why is a dark digit visible even in sunlight?
The bright background reflects some of the light around you. The sections forming the digit let less of it return. The difference makes a number you can read without the display itself making light at each dark spot.
For more on how an electric field can change what a device does, see Basics of Electric Utilities 101.