To grow flowers, you can apply bone meal on a grass block. The block must either have no block above it (obstructing sun/moonlight), or be lit with at least a light level of 8.