What qualifies as a sin?

Sin has been used to screw the happiness out of people.  In Religion it has been used a lot to inject guilt for everyone.  But what is sin?  And what is the impact of sins in people’s life?