dragon slayer magic is a branch of magic which allows its users to transform the physiology of their body into those of a dragon. As a result of this, those with Dragon Slayer abilities are able to change their body to their own element, in both offensive and defensive styles.
however fairy tail never explained exactly how one changes the physiology of their body into a dragon