both are for blood pressure but treat differently what are their functions