A keylogger logs your keys, wait let me explain this: He logs ur pressed key on ur keyboard and sends them to a email or whatever, so if u r typing a password or something like that he send the username and password to the 'hacker'.