Initiative in chess is important in all stages of the game. It is usually associated with an attack but can be reached even in endgames. In general, one side has the initiative if they can make threats that cannot be ignored. That turns the other side into a defensive mode and doesn’t give them time for creating their own threats.