How does a touch screen sense your touch?

I believe there are two ways:

One involves heat sensing.

One involves electrical currents that are disrupted when someone touches the screen, and the disruption of the electrical currents can be used to determine where the screen was touched.