Star And Planet Formation Through Cosmic Time