In a nutshell
Chasing the opponent's weak stones, either to capture them or to profit while they run.
In detail
Chasing an opponent's group that has no eyes or base—capturing it, or building territory and thickness while it runs—is attack. Capturing isn't always the point.
“Attack is the best defense,” they say, but an unreasonable attack can backfire. The direction and timing of attacks show a player's strength.