CHD files are large pieces of compressed data -- for example, hard drive or CD-ROM images -- that MAME uses for certain games. Once you have one, create a directory off wherever your other MAME ROMs are stored, name it after the game it's for, and copy it there.
Usually having a CHD is not enough, and you will have to get a separate .zip for the ROMs that run the CHD.