Characterizing Stellar and Exoplanetary Environments