Usually, a Raspberry Pi is powered by a micro USB adapter, similar to common smartphone chargers. More recent models also support USB-C for power, and there’s the option of Power over Ethernet (PoE) with an additional HAT attachment.