A Beginner’s Map of a ROS 2 Robot
ROS 2 organizes a robot as cooperating processes called nodes. Topics carry ongoing streams such as sensor readings, services handle quick request-response tasks, and actions manage longer operations with feedback. Keeping hardware drivers separate from planning and user-interface nodes makes systems easier to test and replace.
Official source: ROS 2 concepts documentation