can someone explain me how macro's work with the pre macro / press / release

I dont understand how u have to use those macros wich are not 1 button
can someone explain this pls