Been sick and now coughing up this..

Is it an infection?