Lego’s Mindstorms kits take the boundless possibilities of Lego blocks (and the mechanical potential of the Technic system) and add robotics components like servo motors, sensors, and a brain you can ...
There’s also a Python library (basically a set of commands you can use to control the robot) available to go alongside the HAT, which will let you write software to control the robot parts you’ve got ...