An activity diagram is a type of flowchart that depicts the flow from one activity to another and describes the operational steps of a system. It shows activities, associations between activities, and parallel and sequential flows. Activity diagrams are used to visualize dynamic system behavior and model the execution order and flow of control from one activity to the next.