"Illegal" is a ballad with lyrics revolving around mourning for the loss of a lover, as seen in the lines, "It should be illegal to deceive a woman's heart" [REF].
"Illegal" was written and produced by Shakira and Lester Mendez, with all additional production handled by Jose "Gacho" Torres.