The artificial intelligence or 'AI' Cortana was originally designed to infiltrate the Convenant and capture one of their Prophet leaders. This plan changed when the planet Reach fell, and Master Chief was entrusted with her safekeeping - the two developed a deep bond soon after.