Ensign

Ensign is a military rank, the equivalent of which is used by the service organizations of many civilizations. As a traditional naval grade, ensign is the most junior line officer rank below the lieutenant grades, usually immediately under lieutenant or lieutenant junior grade. This is usually the first commisioned rank assigned to new officers (such as recent graduates of Starfleet Academy). This naval rank is equivalent to the rank of second lieutenant which is found in the United States Army, Air Force, and Marine Corps; or the Romulan Star Empire's sublieutenant grade.

An ensign's primary duty is professional growth, both as a leader and as a occupational specialist. Ensigns are mentored by more senior officers as well as their (nominally) subordinate chief petty officers as part of their development as Starfleet leaders. As ensigns prove themselves more capable, they are considered for promotion into the lieutenant tier.

From Memory Alpha -- the free Star Trek reference