This example is a view from below after the "sump" of an automatic transmission has been removed.
The solenoids (green plugs reveal them), change the gears, based on electrical commands sent to them by the computer.
This is from a Mitsubishi made gearbox.