Zcash was originally designed to be a part of Bitcoin network, as a privacy addition to it. It was called Zerocoin and was rejected by Bitcoin project developers for various reasons.
However, the people behind the Zerocoin idea kept on working, and they later moved to another project, a cryptocurrency called Zerocash, which later became Zcash.