The cause of a fire that burned a second-floor unit of a residential building Sunday afternoon on the Northwest Side is under investigation, according to the Chicago Fire Department.