In the dawn of the automotive age, all brakes were mechanical, using either a cable or system of rods to force a friction surface to rub on a metal one connected to the wheels. Sometime before WWII, most cars had moved to a hydraulic brake system, or as the old times call them "juice brakes". This system was better in that it was easier to engineer, and easier to keep in proper adjustment, but it could fail suddenly if one of the hydraulic components started to leak. In the late 1960s the United States Department of Transportation mandated that hydraulic systems would have a redundantcy for safety, which they still do.
The parking brake, aka emergency brake, aka handbrake, aka e-brake, was until recently still very much like those early mechanical brakes, with a cable connected to a pedal or a hand lever. In the past few years, as rear disc brakes became more common, electronic parking brakes have appeared. Instead of hydraulic pressure clamping the rear disc, or a cable pulling a lever arm which turns a screw ramp, an electric motor turns a threaded piston in the caliper, clamping the disc. One of the reasons for automakers moving to electric parking brakes is the automation it allows - an electric parking brake can be programmed to activate automatically when the transmission is placed into park.
Electric parking brakes do add a complication though when you are doing a brake job - you will need to know the secret trick to make the computer unscrew the brake piston. That information can of course be found in your Haynes manual. If you can't make the caliper back out electrically, it is usually possible to wind it back with an inexpensive brake caliper tool. But if you try to force a screw type caliper piston back into the caliper with a C-clamp, as you can with the front caliper and many rear calipers, you can damage the caliper.
If there is a push-button to activate the parking brake, obviously it is an electronic system. If the rear caliper has an electric motor attached to the back of it, instead of a metal cable, that also indicates an electronic parking brake. Typically, you can retract the parking brake with an app and ODBII bluetooth adapter to connect your phone with your car.