The invention belongs to the technical field of preparing compounds, and relates to a compound separated and extracted from marine penicillium and application thereof. The compound is used for preventing and treating in-vitra and in-vivo pseudomonas aeruginosa infection of people or animals, and the chemical formula of the compound which is obtained by fermenting the marine penicillium and has the effect of inhibiting quorum sensing of pseudomonas aeruginosa is 4,6-dimethyl-7-[(1R,2E,4aS,7R,8R,8aR)-1,2.4a,5,6,7,8,8a-octahydro-7-hydroxyl-2-(3-hydroxyl-2-oxygen-propylene)-3,6,8-trimethyl-1-naphthyl]-,(2E,4E,6E)-heptantriene acid, and the molecular formula of the compound is C25H34O5; the compound does not inhibit the growth of the wild type pseudomonas aeruginosa; the quorum-sensing inhibition effect of the compound is concentration-dependent, and is gradually strengthened with the increase of the concentration; virulence factors controlled by the quorum sensing of the pseudomonas aeruginosa can be inhibited; and the compound also has the advantages of readily available raw materials, simple and easily controlled preparation process, obvious sensing inhibition effect and prominent social benefits.