What is the difference between legal act and illegal act?

Legal drugs are drugs that are perscribed just for you and you take them as it is written on your perscription. Illegal drugs are any drug you can buy on the street

The question asks about 'acts' not 'drugs'. An illegal act is against the law, a legal act is permitted.