Arrays can be declared and accessed using square brackets and indexes. For example,
myarray=("apple" "banana" "cherry")
echo "${myarray[0]}"  # Outputs "apple"