When are two lines perpendicular?

A. when the slopes are opposites
B. when the slopes are reciprocal
C. when the slopes are negative
D. when the slopes are opposite and reciprocal​