HSQC detects correlations of two nuclei separated by one bond, while HMBC detects correlations of two nuclei over longer ranges of about 2-4 bonds.
Both 13C-1H HSQC and HMBC are heteronuclear correlation spectroscopy between proton and carbon
COSY determines signals arising from protons that are close to each other in space even if they are not bonded.