What's the differance between and a generator and an alternator? How can I tell what I have?

Thanks


57 3100 235 3 spd