The process of designing and developing new drugs based on their structure and how they interact with biological targets.